home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
SM Notepad Options 1.xpl
< prev
next >
Wrap
Text File
|
2001-03-17
|
1KB
|
60 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="Program Options\Built in Windows Apps\Notepad"
"NAME"="Notepad Options"
"VERSION"="1.37a"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable word-wrap by default"
"TEXT 2"="Set default font style: Strike-Through"
"TEXT 3"="Set default font style: Underline"
"DESCRIPTION 1"="Some options for Notepad."
"AUTHOR"="SΘbastien MAURICE"
"COPYRIGHT"="Copyright ⌐ SΘbastien MAURICE - All Rights Reserved"
"COMMENT 1"="... Used with permission "
sV1="HKCU\Software\Microsoft\Notepad\fWrap"
sV2="HKCU\Software\Microsoft\Notepad\lfStrikeOut"
sV3="HKCU\Software\Microsoft\Notepad\lfUnderline"
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=1 then SetUIElement 1,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
Call RegWriteValue(sV1,"1",2)
else
Call RegWriteValue(sV1,"0",2)
end if
if GetUIElement(2)=true then
Call RegWriteValue(sV2,"1",2)
else
Call RegWriteValue(sV2,"0",2)
end if
if GetUIElement(3)=true then
Call RegWriteValue(sV3,"1",2)
else
Call RegWriteValue(sV3,"0",2)
end if
End Sub
Sub Plugin_Terminate
End Sub